New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
pull request: add required info #6231
Conversation
.github/pull_request_template.md
Outdated
> Good example: https://os.mbed.com/docs/latest/reference/guidelines.html#workflow (Pull request template) | ||
|
||
# Pull request type | ||
|
||
> Required; Please tick one of the following types |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Semicolons?
.github/pull_request_template.md
Outdated
@@ -1,10 +1,12 @@ | |||
# Description | |||
|
|||
> Detailed changes summary | testing | dependencies | |||
> Required; detailed changes summary | testing | dependencies |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Is this suppose to read "detailed changes summary" or "detailed changes" "summary | testing | dependencies" ?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Any of these, just examples what to be expected. just that section is required
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Oh, yes this ends up rendered weird as is. Thoughts on actual comments?
^ comment here ^
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Where does a breaking API change that is not a new feature fit here? Should we change 'feature' to
'Breaking change / New feature' ?
.github/pull_request_template.md
Outdated
> Good example: https://os.mbed.com/docs/latest/reference/guidelines.html#workflow (Pull request template) | ||
|
||
# Pull request type | ||
|
||
> Required; Please tick one of the following types |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Why not use actual comments?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Good, let me test
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@geky because we want to be able to automate the checking of the PR type and automatically assign the release tag
@adbridge, IMO breaking change/new feature should be two separate things. |
@geky I would by happy with a separate entry for 'Breaking change' |
ecdc927
to
dcfa6c3
Compare
dcfa6c3
to
c529b29
Compare
Please use these 2 sections for describing a pull request. They should be part of every pull request. The type specifies what is expected from the pull request and when it can be released. For instance a feature pull request can't be expected to go to the patch release. Important: do not mix pull request types ! Changed also the heading type, to make it smaller.
c529b29
to
668f4d3
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
|
||
<!-- | ||
Required | ||
Please tick one of the following types |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
With the additions of New target and Breaking change should this read "Please tick only one of the following" or "Please tick at least one of the following"?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Only sounds fine. It should be one of these , not multiple selection here (if it is, PR should be split, doing multiple jobs).
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think the wording there is fine, please tick one , means just tick one :)
@geky What was the rationale for having Breaking Change again? To me, any of the items in the list could be considered a breaking change. Would you happen to have an example of what could be a breaking change, but not any of the other items? Or is the intention to have multiple checkmarks (ie: breaking change + fix)? |
Technically speaking, a "breaking change" is a break from documented behaviour. Although you could argue a significant change from "expected" behaivour is also a breaking change. Deciding what is a "breaking change" may require some thinking. Increasing the size of mbed-os isn't necessarily a breaking change, since we don't document a maximum size, but suddenly increasing mbed-os's footprint to several hundred megabytes would be a breaking change, if only because then it couldn't fit on the platforms we support. Features should not break documented behaviour. Changing directory iteration to skip every other file would be a "breaking change", but adding a new It's mostly a matter of severity. The "breaking change" label should be a big red flag that the pr shouldn't be merged without a really good reason. In theory "breaking changes" only get merged on major releases (not minor ones). However, our current rate of growth + distance between major releases has required some breaking changes in the past to be able to keep moving forward. As the code base becomes more mature breaking changes should become unacceptable outside of major releases. Side note, a breaking change on a feature before it's made it to a minor release is a bit different, since it hasn't really been released yet. Not sure if those should also be tagged "breaking change" or just "feature" in that case. |
Breaking change is simple - it is an API change, not related to a new feature... |
/morph build |
Build : SUCCESSBuild number : 1298 Triggering tests/morph test |
Exporter Build : FAILUREBuild number : 959 |
Gotta love those ARM license server issues... /morph export-build |
Exporter Build : SUCCESSBuild number : 961 |
Test : SUCCESSBuild number : 1084 |
Description
Please use these 2 sections for describing a pull request. They should be part
of every pull request.
The type specifies what is expected from the pull request and when it can be
released. For instance a feature pull request can't be expected to go to the
patch release.
Important: do not mix pull request types !
I added also required to description (is Required placed there good, or any other suggestions?)
Pull request type